package com.whli.autumn.mall.metadata.domain.vo.productinfo;

import com.whli.autumn.core.extend.domain.vo.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * <p>商品信息VO</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023-04-09 09:32
 */
@ApiModel(description = "商品信息VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProductInfoVO extends BaseVO {

	@ApiModelProperty(value = "商品分类")
	private String category;

	@ApiModelProperty(value = "商品编码")
	private String code;

	@ApiModelProperty(value = "商品描述")
	private String name;

	@ApiModelProperty(value = "商品规格")
	private String spec;

	@ApiModelProperty(value = "商品型号")
	private String model;

	@ApiModelProperty(value = "商品封面")
	private String coverImg;

	@ApiModelProperty(value = "商品单位")
	private String unit;

	@ApiModelProperty(value = "商品单价")
	private BigDecimal unitPrice;

	@ApiModelProperty(value = "是否启用(0-否 1-是)")
	private Integer isEnable;

}
